package com.xh.model.dto;

import com.xh.model.request.Editor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 海报记录表
 * </p>
 *
 * @author wen
 * @since 2021-07-08
 */
@Getter
@Setter
@ApiModel(value = "Posters对象", description = "海报记录表")
public class PosterDTO {

    @ApiModelProperty(value = "海报ID")
    private Long id;

    @ApiModelProperty(value = "海报名称")
    private String name;

    @ApiModelProperty(value = "宽")
    private Integer w;

    @ApiModelProperty(value = "高")
    private Integer h;

    @ApiModelProperty(value = "背景色")
    private String bgc;

    @ApiModelProperty(value = "图片类型[如：jpeg]")
    private String type;

    @ApiModelProperty(value = "图片质量")
    private Integer quality;

    @ApiModelProperty(value = "背景图URL")
    private String bgUrl;

    @ApiModelProperty(value = "编辑属性")
    private Editor editor;

    @ApiModelProperty(value = "items")
    private List<PosterItemDTO> items;


}
